<!DOCTYPE html>
<html lang="zh-CN">
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width,initial-scale=1">
    <title>插件 | 风晴的小站</title>
    <meta name="generator" content="VuePress 1.9.7">
    <link rel="icon" href="/vuepress-reco-demo/favicon.ico">
    <meta name="description" content="">
    <meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=no">
    
    <link rel="preload" href="/vuepress-reco-demo/assets/css/0.styles.b62e7f31.css" as="style"><link rel="preload" href="/vuepress-reco-demo/assets/js/app.4bb1badd.js" as="script"><link rel="preload" href="/vuepress-reco-demo/assets/js/3.dedc3bda.js" as="script"><link rel="preload" href="/vuepress-reco-demo/assets/js/1.1f77094c.js" as="script"><link rel="preload" href="/vuepress-reco-demo/assets/js/27.601944e2.js" as="script"><link rel="prefetch" href="/vuepress-reco-demo/assets/js/10.da6c6615.js"><link rel="prefetch" href="/vuepress-reco-demo/assets/js/11.278dedb8.js"><link rel="prefetch" href="/vuepress-reco-demo/assets/js/12.8bf39f5a.js"><link rel="prefetch" href="/vuepress-reco-demo/assets/js/13.42d9fb10.js"><link rel="prefetch" href="/vuepress-reco-demo/assets/js/14.b12eaca7.js"><link rel="prefetch" href="/vuepress-reco-demo/assets/js/15.304ef6c0.js"><link rel="prefetch" href="/vuepress-reco-demo/assets/js/16.c25a4baa.js"><link rel="prefetch" href="/vuepress-reco-demo/assets/js/17.73a7ed46.js"><link rel="prefetch" href="/vuepress-reco-demo/assets/js/18.f46ae896.js"><link rel="prefetch" href="/vuepress-reco-demo/assets/js/19.8f5f023a.js"><link rel="prefetch" href="/vuepress-reco-demo/assets/js/20.b7574fce.js"><link rel="prefetch" href="/vuepress-reco-demo/assets/js/21.d5991a0f.js"><link rel="prefetch" href="/vuepress-reco-demo/assets/js/22.15018480.js"><link rel="prefetch" href="/vuepress-reco-demo/assets/js/23.da12378e.js"><link rel="prefetch" href="/vuepress-reco-demo/assets/js/24.608b9c02.js"><link rel="prefetch" href="/vuepress-reco-demo/assets/js/25.344d0ef0.js"><link rel="prefetch" href="/vuepress-reco-demo/assets/js/26.c216c7dd.js"><link rel="prefetch" href="/vuepress-reco-demo/assets/js/28.4eef19c0.js"><link rel="prefetch" href="/vuepress-reco-demo/assets/js/4.8e02f107.js"><link rel="prefetch" href="/vuepress-reco-demo/assets/js/5.8e0dc2ab.js"><link rel="prefetch" href="/vuepress-reco-demo/assets/js/6.76277f0d.js"><link rel="prefetch" href="/vuepress-reco-demo/assets/js/7.c22116bf.js"><link rel="prefetch" href="/vuepress-reco-demo/assets/js/8.57275b55.js"><link rel="prefetch" href="/vuepress-reco-demo/assets/js/9.638f97d3.js">
    <link rel="stylesheet" href="/vuepress-reco-demo/assets/css/0.styles.b62e7f31.css">
  </head>
  <body>
    <div id="app" data-server-rendered="true"><div class="theme-container" data-v-130b300a><div data-v-130b300a><div class="password-shadow password-wrapper-out" style="display:none;" data-v-25ba6db2 data-v-130b300a data-v-130b300a><h3 class="title" data-v-25ba6db2 data-v-25ba6db2>风晴的小站</h3> <p class="description" data-v-25ba6db2 data-v-25ba6db2></p> <label id="box" class="inputBox" data-v-25ba6db2 data-v-25ba6db2><input type="password" value="" data-v-25ba6db2> <span data-v-25ba6db2>Konck! Knock!</span> <button data-v-25ba6db2>OK</button></label> <div class="footer" data-v-25ba6db2 data-v-25ba6db2><span data-v-25ba6db2><i class="iconfont reco-theme" data-v-25ba6db2></i> <a target="blank" href="https://vuepress-theme-reco.recoluan.com" data-v-25ba6db2>vuePress-theme-reco</a></span> <span data-v-25ba6db2><i class="iconfont reco-copyright" data-v-25ba6db2></i> <a data-v-25ba6db2><span data-v-25ba6db2>YMZ</span>
            
          <span data-v-25ba6db2>2017 - </span>
          2023
        </a></span></div></div> <div class="hide" data-v-130b300a><header class="navbar" data-v-130b300a><div class="sidebar-button"><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" role="img" viewBox="0 0 448 512" class="icon"><path fill="currentColor" d="M436 124H12c-6.627 0-12-5.373-12-12V80c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12z"></path></svg></div> <a href="/vuepress-reco-demo/" class="home-link router-link-active"><img src="/vuepress-reco-demo/square-avatar.png" alt="风晴的小站" class="logo"> <span class="site-name">风晴的小站</span></a> <div class="links"><div class="color-picker"><a class="color-button"><i class="iconfont reco-color"></i></a> <div class="color-picker-menu" style="display:none;"><div class="mode-options"><h4 class="title">Choose mode</h4> <ul class="color-mode-options"><li class="dark">dark</li><li class="auto active">auto</li><li class="light">light</li></ul></div></div></div> <div class="search-box"><i class="iconfont reco-search"></i> <input aria-label="Search" autocomplete="off" spellcheck="false" value=""> <!----></div> <nav class="nav-links can-hide"><div class="nav-item"><a href="/vuepress-reco-demo/" class="nav-link"><i class="iconfont reco-home"></i>
  Home
</a></div><div class="nav-item"><a href="/vuepress-reco-demo/timeline/" class="nav-link"><i class="iconfont reco-date"></i>
  TimeLine
</a></div><div class="nav-item"><div class="dropdown-wrapper"><a class="dropdown-title"><span class="title"><i class="iconfont reco-message"></i>
      文档
    </span> <span class="arrow right"></span></a> <ul class="nav-dropdown" style="display:none;"><li class="dropdown-item"><!----> <a href="/vuepress-reco-demo/blogs/考研/" class="nav-link"><i class="undefined"></i>
  考研
</a></li><li class="dropdown-item"><!----> <a href="/vuepress-reco-demo/docs/开发人员/" class="nav-link"><i class="undefined"></i>
  开发人员
</a></li></ul></div></div><div class="nav-item"><div class="dropdown-wrapper"><a class="dropdown-title"><span class="title"><i class="iconfont reco-category"></i>
      Category
    </span> <span class="arrow right"></span></a> <ul class="nav-dropdown" style="display:none;"><li class="dropdown-item"><!----> <a href="/vuepress-reco-demo/categories/学习/" class="nav-link"><i class="undefined"></i>
  学习
</a></li><li class="dropdown-item"><!----> <a href="/vuepress-reco-demo/categories/计算机技术/" class="nav-link"><i class="undefined"></i>
  计算机技术
</a></li><li class="dropdown-item"><!----> <a href="/vuepress-reco-demo/categories/计算机语言/" class="nav-link"><i class="undefined"></i>
  计算机语言
</a></li></ul></div></div><div class="nav-item"><a href="/vuepress-reco-demo/tag/" class="nav-link"><i class="iconfont reco-tag"></i>
  Tag
</a></div><div class="nav-item"><div class="dropdown-wrapper"><a class="dropdown-title"><span class="title"><i class="iconfont reco-message"></i>
      Contact
    </span> <span class="arrow right"></span></a> <ul class="nav-dropdown" style="display:none;"><li class="dropdown-item"><!----> <a href="https://gitee.com/Silfra" target="_blank" rel="noopener noreferrer" class="nav-link external"><i class="iconfont reco-gitee"></i>
  Gitee
  <span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></li></ul></div></div> <!----></nav></div></header> <div class="sidebar-mask" data-v-130b300a></div> <aside class="sidebar" data-v-130b300a><div class="personal-info-wrapper" data-v-39576ba9 data-v-130b300a><img src="/vuepress-reco-demo/square-avatar.png" alt="author-avatar" class="personal-img" data-v-39576ba9> <h3 class="name" data-v-39576ba9>
    YMZ
  </h3> <div class="num" data-v-39576ba9><div data-v-39576ba9><h3 data-v-39576ba9>16</h3> <h6 data-v-39576ba9>文章</h6></div> <div data-v-39576ba9><h3 data-v-39576ba9>12</h3> <h6 data-v-39576ba9>标签</h6></div></div> <ul class="social-links" data-v-39576ba9></ul> <hr data-v-39576ba9></div> <nav class="nav-links"><div class="nav-item"><a href="/vuepress-reco-demo/" class="nav-link"><i class="iconfont reco-home"></i>
  Home
</a></div><div class="nav-item"><a href="/vuepress-reco-demo/timeline/" class="nav-link"><i class="iconfont reco-date"></i>
  TimeLine
</a></div><div class="nav-item"><div class="dropdown-wrapper"><a class="dropdown-title"><span class="title"><i class="iconfont reco-message"></i>
      文档
    </span> <span class="arrow right"></span></a> <ul class="nav-dropdown" style="display:none;"><li class="dropdown-item"><!----> <a href="/vuepress-reco-demo/blogs/考研/" class="nav-link"><i class="undefined"></i>
  考研
</a></li><li class="dropdown-item"><!----> <a href="/vuepress-reco-demo/docs/开发人员/" class="nav-link"><i class="undefined"></i>
  开发人员
</a></li></ul></div></div><div class="nav-item"><div class="dropdown-wrapper"><a class="dropdown-title"><span class="title"><i class="iconfont reco-category"></i>
      Category
    </span> <span class="arrow right"></span></a> <ul class="nav-dropdown" style="display:none;"><li class="dropdown-item"><!----> <a href="/vuepress-reco-demo/categories/学习/" class="nav-link"><i class="undefined"></i>
  学习
</a></li><li class="dropdown-item"><!----> <a href="/vuepress-reco-demo/categories/计算机技术/" class="nav-link"><i class="undefined"></i>
  计算机技术
</a></li><li class="dropdown-item"><!----> <a href="/vuepress-reco-demo/categories/计算机语言/" class="nav-link"><i class="undefined"></i>
  计算机语言
</a></li></ul></div></div><div class="nav-item"><a href="/vuepress-reco-demo/tag/" class="nav-link"><i class="iconfont reco-tag"></i>
  Tag
</a></div><div class="nav-item"><div class="dropdown-wrapper"><a class="dropdown-title"><span class="title"><i class="iconfont reco-message"></i>
      Contact
    </span> <span class="arrow right"></span></a> <ul class="nav-dropdown" style="display:none;"><li class="dropdown-item"><!----> <a href="https://gitee.com/Silfra" target="_blank" rel="noopener noreferrer" class="nav-link external"><i class="iconfont reco-gitee"></i>
  Gitee
  <span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></li></ul></div></div> <!----></nav> <ul class="sidebar-links"><li><a href="/vuepress-reco-demo/docs/%E5%BC%80%E5%8F%91%E4%BA%BA%E5%91%98/" aria-current="page" class="sidebar-link">适用于开发人员的文档</a></li><li><a href="/vuepress-reco-demo/docs/开发人员/插件.html" class="active sidebar-link">插件</a></li><li><a href="/vuepress-reco-demo/docs/开发人员/一些细节.html" class="sidebar-link">一些细节</a></li><li><a href="/vuepress-reco-demo/docs/开发人员/博客搭建.html" class="sidebar-link">博客搭建</a></li></ul> </aside> <div class="password-shadow password-wrapper-in" style="display:none;" data-v-25ba6db2 data-v-130b300a><h3 class="title" data-v-25ba6db2 data-v-25ba6db2>插件</h3> <!----> <label id="box" class="inputBox" data-v-25ba6db2 data-v-25ba6db2><input type="password" value="" data-v-25ba6db2> <span data-v-25ba6db2>Konck! Knock!</span> <button data-v-25ba6db2>OK</button></label> <div class="footer" data-v-25ba6db2 data-v-25ba6db2><span data-v-25ba6db2><i class="iconfont reco-theme" data-v-25ba6db2></i> <a target="blank" href="https://vuepress-theme-reco.recoluan.com" data-v-25ba6db2>vuePress-theme-reco</a></span> <span data-v-25ba6db2><i class="iconfont reco-copyright" data-v-25ba6db2></i> <a data-v-25ba6db2><span data-v-25ba6db2>YMZ</span>
            
          <span data-v-25ba6db2>2017 - </span>
          2023
        </a></span></div></div> <div data-v-130b300a><main class="page"><section><div class="page-title"><h1 class="title">插件</h1> <div data-v-f875f3fc><i class="iconfont reco-account" data-v-f875f3fc><span data-v-f875f3fc>YMZ</span></i> <i class="iconfont reco-date" data-v-f875f3fc><span data-v-f875f3fc>2023/6/15</span></i> <!----> <i class="tags iconfont reco-tag" data-v-f875f3fc><span class="tag-item" data-v-f875f3fc>前端</span></i></div></div> <div class="theme-reco-content content__default"><p>这里是本网站所用到的一些插件，以及插件的安装教程。</p> <h2 id="插件安装和使用注意事项"><a href="#插件安装和使用注意事项" class="header-anchor">#</a> 插件安装和使用注意事项</h2> <ol><li>在安装和使用插件前，你需要知道插件如何在<code>config.js</code>中表示：</li></ol> <div class="language-javascript line-numbers-mode"><pre class="language-javascript"><code><span class="token literal-property property">plugins</span><span class="token operator">:</span> <span class="token punctuation">[</span>
    <span class="token punctuation">[</span>
        <span class="token string">'xxx'</span><span class="token punctuation">,</span>  <span class="token comment">// 插件名称</span>
        <span class="token punctuation">{</span>
            <span class="token comment">// 插件配置</span>
        <span class="token punctuation">}</span>
    <span class="token punctuation">]</span><span class="token punctuation">,</span>
    <span class="token punctuation">[</span>
        <span class="token comment">// 多个插件，即使你只可能需要1个插件，还是建议使用[[你的插件],]的形式，而不是[你的插件]</span>
    <span class="token punctuation">]</span><span class="token punctuation">,</span>
<span class="token punctuation">]</span>
</code></pre> <div class="line-numbers-wrapper"><span class="line-number">1</span><br><span class="line-number">2</span><br><span class="line-number">3</span><br><span class="line-number">4</span><br><span class="line-number">5</span><br><span class="line-number">6</span><br><span class="line-number">7</span><br><span class="line-number">8</span><br><span class="line-number">9</span><br><span class="line-number">10</span><br><span class="line-number">11</span><br></div></div><ol start="2"><li>一般说来，很多插件都需要有<code>vuepress</code>的支持，即你不仅安装了<code>vuepress-reco-theme</code>，还需要安装<code>vuepress</code>，在<code>package.json</code>
中检查你是否已安装：</li></ol> <blockquote><p>如何安装<code>vuepress</code>？参见<a href="https://v2.vuepress.vuejs.org/zh/" target="_blank" rel="noopener noreferrer">vuepress的官方文档<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></p></blockquote> <p><img src="/vuepress-reco-demo/docs/%E5%BC%80%E5%8F%91%E4%BA%BA%E5%91%98/%E6%8F%92%E4%BB%B6.assets/image-20230615173741482.png" alt="image-20230615173741482"></p> <ol start="3"><li>插件在配置中的层级是第一层级，和<code>themeConfig</code>同级。</li></ol> <h2 id="sakura-樱花-插件"><a href="#sakura-樱花-插件" class="header-anchor">#</a> sakura（樱花 插件）</h2> <h3 id="安装"><a href="#安装" class="header-anchor">#</a> 安装</h3> <div class="language-shell line-numbers-mode"><pre class="language-shell"><code><span class="token function">npm</span> <span class="token function">install</span> vuepress-plugin-sakura <span class="token parameter variable">-D</span>
</code></pre> <div class="line-numbers-wrapper"><span class="line-number">1</span><br></div></div><h3 id="使用"><a href="#使用" class="header-anchor">#</a> 使用</h3> <div class="language-javascript line-numbers-mode"><pre class="language-javascript"><code><span class="token literal-property property">plugins</span><span class="token operator">:</span> <span class="token punctuation">[</span>
    <span class="token punctuation">[</span>
        <span class="token string">'sakura'</span><span class="token punctuation">,</span>
        <span class="token punctuation">{</span>
            <span class="token literal-property property">num</span><span class="token operator">:</span> <span class="token number">8</span><span class="token punctuation">,</span><span class="token comment">// 默认数量</span>
            <span class="token literal-property property">show</span><span class="token operator">:</span> <span class="token boolean">true</span><span class="token punctuation">,</span><span class="token comment">//是否显示</span>
            <span class="token literal-property property">zIndex</span><span class="token operator">:</span> <span class="token operator">-</span><span class="token number">1</span><span class="token punctuation">,</span><span class="token comment">// 层级</span>
            <span class="token literal-property property">img</span><span class="token operator">:</span> <span class="token punctuation">{</span><span class="token comment">// false 默认图 true 换图 需要填写httpUrl地址</span>
                <span class="token literal-property property">replace</span><span class="token operator">:</span> <span class="token boolean">false</span><span class="token punctuation">,</span>
                <span class="token comment">// httpUrl: ''  // 绝对路径</span>
            <span class="token punctuation">}</span>
        <span class="token punctuation">}</span>
    <span class="token punctuation">]</span><span class="token punctuation">,</span>
<span class="token punctuation">]</span>
</code></pre> <div class="line-numbers-wrapper"><span class="line-number">1</span><br><span class="line-number">2</span><br><span class="line-number">3</span><br><span class="line-number">4</span><br><span class="line-number">5</span><br><span class="line-number">6</span><br><span class="line-number">7</span><br><span class="line-number">8</span><br><span class="line-number">9</span><br><span class="line-number">10</span><br><span class="line-number">11</span><br><span class="line-number">12</span><br><span class="line-number">13</span><br><span class="line-number">14</span><br></div></div><h2 id="ribbon-animation-彩带-插件"><a href="#ribbon-animation-彩带-插件" class="header-anchor">#</a> ribbon-animation（彩带 插件）</h2> <h3 id="安装-2"><a href="#安装-2" class="header-anchor">#</a> 安装</h3> <div class="language-shell line-numbers-mode"><pre class="language-shell"><code><span class="token function">npm</span> <span class="token function">install</span> <span class="token parameter variable">-D</span> vuepress-plugin-ribbon-animation
</code></pre> <div class="line-numbers-wrapper"><span class="line-number">1</span><br></div></div><h3 id="使用-2"><a href="#使用-2" class="header-anchor">#</a> 使用</h3> <div class="language-javascript line-numbers-mode"><pre class="language-javascript"><code><span class="token punctuation">[</span>
    <span class="token string">'ribbon-animation'</span><span class="token punctuation">,</span>
    <span class="token punctuation">{</span>
        <span class="token literal-property property">size</span><span class="token operator">:</span> <span class="token number">100</span><span class="token punctuation">,</span> <span class="token comment">// 默认数据</span>
        <span class="token literal-property property">opacity</span><span class="token operator">:</span> <span class="token number">0.3</span><span class="token punctuation">,</span> <span class="token comment">//  透明度</span>
        <span class="token literal-property property">zIndex</span><span class="token operator">:</span> <span class="token operator">-</span><span class="token number">1</span><span class="token punctuation">,</span> <span class="token comment">//  层级</span>
        <span class="token literal-property property">opt</span><span class="token operator">:</span> <span class="token punctuation">{</span>
            <span class="token literal-property property">colorSaturation</span><span class="token operator">:</span> <span class="token string">'80%'</span><span class="token punctuation">,</span><span class="token comment">// 色带HSL饱和度</span>
            <span class="token literal-property property">colorBrightness</span><span class="token operator">:</span> <span class="token string">'60%'</span><span class="token punctuation">,</span><span class="token comment">// 色带HSL亮度量</span>
            <span class="token literal-property property">colorAlpha</span><span class="token operator">:</span> <span class="token number">0.6</span><span class="token punctuation">,</span><span class="token comment">// 带状颜色不透明度</span>
            <span class="token literal-property property">colorCycleSpeed</span><span class="token operator">:</span> <span class="token number">3</span><span class="token punctuation">,</span><span class="token comment">// 在HSL颜色空间中循环显示颜色的速度有多快</span>
            <span class="token comment">// 从哪一侧开始Y轴 (top|min, middle|center, bottom|max, random)</span>
            <span class="token literal-property property">verticalPosition</span><span class="token operator">:</span> <span class="token string">'max'</span><span class="token punctuation">,</span>
            <span class="token comment">// 到达屏幕另一侧的速度有多快</span>
            <span class="token literal-property property">horizontalSpeed</span><span class="token operator">:</span> <span class="token number">150</span><span class="token punctuation">,</span>
            <span class="token literal-property property">ribbonCount</span><span class="token operator">:</span> <span class="token number">2</span><span class="token punctuation">,</span><span class="token comment">// 在任何给定时间，屏幕上会保留多少条带</span>
            <span class="token literal-property property">strokeSize</span><span class="token operator">:</span> <span class="token number">0</span><span class="token punctuation">,</span><span class="token comment">// 添加笔划以及色带填充颜色</span>
            <span class="token literal-property property">parallaxAmount</span><span class="token operator">:</span> <span class="token operator">-</span><span class="token number">0.5</span><span class="token punctuation">,</span><span class="token comment">// 通过页面滚动上的因子垂直移动色带</span>
            <span class="token literal-property property">animateSections</span><span class="token operator">:</span> <span class="token boolean">true</span><span class="token comment">// 随着时间的推移，为每个功能区添加动画效果</span>
        <span class="token punctuation">}</span><span class="token punctuation">,</span>
        <span class="token literal-property property">ribbonShow</span><span class="token operator">:</span> <span class="token boolean">false</span><span class="token punctuation">,</span><span class="token comment">//  点击彩带  true显示  false为不显示</span>
        <span class="token literal-property property">ribbonAnimationShow</span><span class="token operator">:</span> <span class="token boolean">true</span><span class="token comment">// 滑动彩带</span>
    <span class="token punctuation">}</span>
<span class="token punctuation">]</span>
</code></pre> <div class="line-numbers-wrapper"><span class="line-number">1</span><br><span class="line-number">2</span><br><span class="line-number">3</span><br><span class="line-number">4</span><br><span class="line-number">5</span><br><span class="line-number">6</span><br><span class="line-number">7</span><br><span class="line-number">8</span><br><span class="line-number">9</span><br><span class="line-number">10</span><br><span class="line-number">11</span><br><span class="line-number">12</span><br><span class="line-number">13</span><br><span class="line-number">14</span><br><span class="line-number">15</span><br><span class="line-number">16</span><br><span class="line-number">17</span><br><span class="line-number">18</span><br><span class="line-number">19</span><br><span class="line-number">20</span><br><span class="line-number">21</span><br><span class="line-number">22</span><br><span class="line-number">23</span><br><span class="line-number">24</span><br></div></div><h2 id="dynamic-title-趣味动态标题-插件"><a href="#dynamic-title-趣味动态标题-插件" class="header-anchor">#</a> dynamic-title（趣味动态标题 插件）</h2> <h3 id="安装-3"><a href="#安装-3" class="header-anchor">#</a> 安装</h3> <div class="language-shell line-numbers-mode"><pre class="language-shell"><code><span class="token function">npm</span> i vuepress-plugin-dynamic-title <span class="token parameter variable">-D</span>
</code></pre> <div class="line-numbers-wrapper"><span class="line-number">1</span><br></div></div><h3 id="使用-3"><a href="#使用-3" class="header-anchor">#</a> 使用</h3> <div class="language-javascript line-numbers-mode"><pre class="language-javascript"><code><span class="token punctuation">[</span>
    <span class="token string">'dynamic-title'</span><span class="token punctuation">,</span>
    <span class="token punctuation">{</span>
        <span class="token literal-property property">showIcon</span><span class="token operator">:</span> <span class="token string">'/favicon.ico'</span><span class="token punctuation">,</span>
        <span class="token literal-property property">showText</span><span class="token operator">:</span> <span class="token string">'(/≧▽≦/)咦！又好了！'</span><span class="token punctuation">,</span>
        <span class="token literal-property property">hideIcon</span><span class="token operator">:</span> <span class="token string">'/favicon.ico'</span><span class="token punctuation">,</span>
        <span class="token literal-property property">hideText</span><span class="token operator">:</span> <span class="token string">'(●—●)喔哟，崩溃啦！'</span><span class="token punctuation">,</span>
        <span class="token literal-property property">recoverTime</span><span class="token operator">:</span> <span class="token number">2000</span>
    <span class="token punctuation">}</span>
<span class="token punctuation">]</span>
</code></pre> <div class="line-numbers-wrapper"><span class="line-number">1</span><br><span class="line-number">2</span><br><span class="line-number">3</span><br><span class="line-number">4</span><br><span class="line-number">5</span><br><span class="line-number">6</span><br><span class="line-number">7</span><br><span class="line-number">8</span><br><span class="line-number">9</span><br><span class="line-number">10</span><br></div></div><h2 id="vuepress-plugin-cursor-effects-鼠标点击特效-插件"><a href="#vuepress-plugin-cursor-effects-鼠标点击特效-插件" class="header-anchor">#</a> vuepress-plugin-cursor-effects（鼠标点击特效 插件）</h2> <h3 id="安装-4"><a href="#安装-4" class="header-anchor">#</a> 安装</h3> <div class="language-shell line-numbers-mode"><pre class="language-shell"><code><span class="token function">npm</span> <span class="token function">install</span> <span class="token parameter variable">-D</span> vuepress-plugin-cursor-effects
</code></pre> <div class="line-numbers-wrapper"><span class="line-number">1</span><br></div></div><h3 id="使用-4"><a href="#使用-4" class="header-anchor">#</a> 使用</h3> <div class="language-javascript line-numbers-mode"><pre class="language-javascript"><code><span class="token punctuation">[</span>
    <span class="token string">'vuepress-plugin-cursor-effects'</span><span class="token punctuation">,</span>
    <span class="token punctuation">{</span>
        <span class="token literal-property property">size</span><span class="token operator">:</span> <span class="token number">3</span><span class="token punctuation">,</span><span class="token comment">// size of the particle, default: 2</span>
        <span class="token literal-property property">shape</span><span class="token operator">:</span> <span class="token string">'star'</span><span class="token punctuation">,</span><span class="token comment">// shape of the particle, default: 'star'</span>
        <span class="token literal-property property">zIndex</span><span class="token operator">:</span> <span class="token number">999999999</span><span class="token comment">// z-index property of the canvas, default: 999999999</span>
    <span class="token punctuation">}</span>
<span class="token punctuation">]</span>
</code></pre> <div class="line-numbers-wrapper"><span class="line-number">1</span><br><span class="line-number">2</span><br><span class="line-number">3</span><br><span class="line-number">4</span><br><span class="line-number">5</span><br><span class="line-number">6</span><br><span class="line-number">7</span><br><span class="line-number">8</span><br></div></div><h2 id="随机名言-插件"><a href="#随机名言-插件" class="header-anchor">#</a> 随机名言 插件</h2> <h3 id="安装-5"><a href="#安装-5" class="header-anchor">#</a> 安装</h3> <div class="language-shell line-numbers-mode"><pre class="language-shell"><code><span class="token function">npm</span> i vuepress-plugin-boxx <span class="token parameter variable">-D</span>
</code></pre> <div class="line-numbers-wrapper"><span class="line-number">1</span><br></div></div><h3 id="使用-5"><a href="#使用-5" class="header-anchor">#</a> 使用</h3> <div class="language-javascript line-numbers-mode"><pre class="language-javascript"><code><span class="token punctuation">[</span><span class="token string">'vuepress-plugin-boxx'</span><span class="token punctuation">]</span>
</code></pre> <div class="line-numbers-wrapper"><span class="line-number">1</span><br></div></div><p>在md文档中直接插入<code>&lt;Boxx&gt;&lt;/Boxx&gt;</code>即可显示。</p> <p>一些配置可见<a href="https://github.com/zpj80231/vuepress-plugin-boxx" target="_blank" rel="noopener noreferrer">官方文档<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></p></div></section> <footer class="page-edit"><!----> <div class="last-updated"><span class="prefix">Last Updated: </span> <span class="time">2023/6/24 16:53:48</span></div></footer> <div class="page-nav"><p class="inner"><span class="prev"><a href="/vuepress-reco-demo/docs/%E5%BC%80%E5%8F%91%E4%BA%BA%E5%91%98/" class="prev router-link-active">
            适用于开发人员的文档
          </a></span> <span class="next"><a href="/vuepress-reco-demo/docs/开发人员/一些细节.html">
            一些细节
          </a></span></p></div> <div class="comments-wrapper"><!----></div> <ul class="side-bar sub-sidebar-wrapper" style="width:12rem;" data-v-cb1513f6><li class="level-2" data-v-cb1513f6><a href="/vuepress-reco-demo/docs/%E5%BC%80%E5%8F%91%E4%BA%BA%E5%91%98/%E6%8F%92%E4%BB%B6.html#插件安装和使用注意事项" class="sidebar-link reco-side-插件安装和使用注意事项" data-v-cb1513f6>插件安装和使用注意事项</a></li><li class="level-2" data-v-cb1513f6><a href="/vuepress-reco-demo/docs/%E5%BC%80%E5%8F%91%E4%BA%BA%E5%91%98/%E6%8F%92%E4%BB%B6.html#sakura-樱花-插件" class="sidebar-link reco-side-sakura-樱花-插件" data-v-cb1513f6>sakura（樱花 插件）</a></li><li class="level-3" data-v-cb1513f6><a href="/vuepress-reco-demo/docs/%E5%BC%80%E5%8F%91%E4%BA%BA%E5%91%98/%E6%8F%92%E4%BB%B6.html#安装" class="sidebar-link reco-side-安装" data-v-cb1513f6>安装</a></li><li class="level-3" data-v-cb1513f6><a href="/vuepress-reco-demo/docs/%E5%BC%80%E5%8F%91%E4%BA%BA%E5%91%98/%E6%8F%92%E4%BB%B6.html#使用" class="sidebar-link reco-side-使用" data-v-cb1513f6>使用</a></li><li class="level-2" data-v-cb1513f6><a href="/vuepress-reco-demo/docs/%E5%BC%80%E5%8F%91%E4%BA%BA%E5%91%98/%E6%8F%92%E4%BB%B6.html#ribbon-animation-彩带-插件" class="sidebar-link reco-side-ribbon-animation-彩带-插件" data-v-cb1513f6>ribbon-animation（彩带 插件）</a></li><li class="level-3" data-v-cb1513f6><a href="/vuepress-reco-demo/docs/%E5%BC%80%E5%8F%91%E4%BA%BA%E5%91%98/%E6%8F%92%E4%BB%B6.html#安装-2" class="sidebar-link reco-side-安装-2" data-v-cb1513f6>安装</a></li><li class="level-3" data-v-cb1513f6><a href="/vuepress-reco-demo/docs/%E5%BC%80%E5%8F%91%E4%BA%BA%E5%91%98/%E6%8F%92%E4%BB%B6.html#使用-2" class="sidebar-link reco-side-使用-2" data-v-cb1513f6>使用</a></li><li class="level-2" data-v-cb1513f6><a href="/vuepress-reco-demo/docs/%E5%BC%80%E5%8F%91%E4%BA%BA%E5%91%98/%E6%8F%92%E4%BB%B6.html#dynamic-title-趣味动态标题-插件" class="sidebar-link reco-side-dynamic-title-趣味动态标题-插件" data-v-cb1513f6>dynamic-title（趣味动态标题 插件）</a></li><li class="level-3" data-v-cb1513f6><a href="/vuepress-reco-demo/docs/%E5%BC%80%E5%8F%91%E4%BA%BA%E5%91%98/%E6%8F%92%E4%BB%B6.html#安装-3" class="sidebar-link reco-side-安装-3" data-v-cb1513f6>安装</a></li><li class="level-3" data-v-cb1513f6><a href="/vuepress-reco-demo/docs/%E5%BC%80%E5%8F%91%E4%BA%BA%E5%91%98/%E6%8F%92%E4%BB%B6.html#使用-3" class="sidebar-link reco-side-使用-3" data-v-cb1513f6>使用</a></li><li class="level-2" data-v-cb1513f6><a href="/vuepress-reco-demo/docs/%E5%BC%80%E5%8F%91%E4%BA%BA%E5%91%98/%E6%8F%92%E4%BB%B6.html#vuepress-plugin-cursor-effects-鼠标点击特效-插件" class="sidebar-link reco-side-vuepress-plugin-cursor-effects-鼠标点击特效-插件" data-v-cb1513f6>vuepress-plugin-cursor-effects（鼠标点击特效 插件）</a></li><li class="level-3" data-v-cb1513f6><a href="/vuepress-reco-demo/docs/%E5%BC%80%E5%8F%91%E4%BA%BA%E5%91%98/%E6%8F%92%E4%BB%B6.html#安装-4" class="sidebar-link reco-side-安装-4" data-v-cb1513f6>安装</a></li><li class="level-3" data-v-cb1513f6><a href="/vuepress-reco-demo/docs/%E5%BC%80%E5%8F%91%E4%BA%BA%E5%91%98/%E6%8F%92%E4%BB%B6.html#使用-4" class="sidebar-link reco-side-使用-4" data-v-cb1513f6>使用</a></li><li class="level-2" data-v-cb1513f6><a href="/vuepress-reco-demo/docs/%E5%BC%80%E5%8F%91%E4%BA%BA%E5%91%98/%E6%8F%92%E4%BB%B6.html#随机名言-插件" class="sidebar-link reco-side-随机名言-插件" data-v-cb1513f6>随机名言 插件</a></li><li class="level-3" data-v-cb1513f6><a href="/vuepress-reco-demo/docs/%E5%BC%80%E5%8F%91%E4%BA%BA%E5%91%98/%E6%8F%92%E4%BB%B6.html#安装-5" class="sidebar-link reco-side-安装-5" data-v-cb1513f6>安装</a></li><li class="level-3" data-v-cb1513f6><a href="/vuepress-reco-demo/docs/%E5%BC%80%E5%8F%91%E4%BA%BA%E5%91%98/%E6%8F%92%E4%BB%B6.html#使用-5" class="sidebar-link reco-side-使用-5" data-v-cb1513f6>使用</a></li></ul></main> <!----></div></div></div></div><div class="global-ui"><div class="back-to-ceiling" style="right:1rem;bottom:6rem;width:2.5rem;height:2.5rem;border-radius:.25rem;line-height:2.5rem;display:none;" data-v-c6073ba8 data-v-c6073ba8><svg t="1574745035067" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5404" class="icon" data-v-c6073ba8><path d="M526.60727968 10.90185116a27.675 27.675 0 0 0-29.21455937 0c-131.36607665 82.28402758-218.69155461 228.01873535-218.69155402 394.07834331a462.20625001 462.20625001 0 0 0 5.36959153 69.94390903c1.00431239 6.55289093-0.34802892 13.13561351-3.76865779 18.80351572-32.63518765 54.11355614-51.75690182 118.55860487-51.7569018 187.94566865a371.06718723 371.06718723 0 0 0 11.50484808 91.98906777c6.53300375 25.50556257 41.68394495 28.14064038 52.69160883 4.22606766 17.37162448-37.73630017 42.14135425-72.50938081 72.80769204-103.21549295 2.18761121 3.04276886 4.15646224 6.24463696 6.40373557 9.22774369a1871.4375 1871.4375 0 0 0 140.04691725 5.34970492 1866.36093723 1866.36093723 0 0 0 140.04691723-5.34970492c2.24727335-2.98310674 4.21612437-6.18497483 6.3937923-9.2178004 30.66633723 30.70611158 55.4360664 65.4791928 72.80769147 103.21549355 11.00766384 23.91457269 46.15860503 21.27949489 52.69160879-4.22606768a371.15156223 371.15156223 0 0 0 11.514792-91.99901164c0-69.36717486-19.13165746-133.82216804-51.75690182-187.92578088-3.42062944-5.66790279-4.76302748-12.26056868-3.76865837-18.80351632a462.20625001 462.20625001 0 0 0 5.36959269-69.943909c-0.00994388-166.08943902-87.32547796-311.81420293-218.6915546-394.09823051zM605.93803103 357.87693858a93.93749974 93.93749974 0 1 1-187.89594924 6.1e-7 93.93749974 93.93749974 0 0 1 187.89594924-6.1e-7z" p-id="5405" data-v-c6073ba8></path><path d="M429.50777625 765.63860547C429.50777625 803.39355007 466.44236686 1000.39046097 512.00932183 1000.39046097c45.56695499 0 82.4922232-197.00623328 82.5015456-234.7518555 0-37.75494459-36.9345906-68.35043303-82.4922232-68.34111062-45.57627738-0.00932239-82.52019037 30.59548842-82.51086798 68.34111062z" p-id="5406" data-v-c6073ba8></path></svg></div><div class="Sakura" data-v-248d85d6><canvas id="canvas_sakura" style="z-index:-1;" data-v-248d85d6></canvas></div><!----><div class="RibbonAnimation"></div><div></div><canvas id="vuepress-canvas-cursor"></canvas><APlayer audio="" fixed="true" mini="true" theme="#b7daff" loop="loop" order="random" preload="auto" volume="1" mutex="true" lrc-type="3" list-max-height="250" storage-name="vuepress-plugin-meting" id="aplayer-fixed"></APlayer></div></div>
    <script src="/vuepress-reco-demo/assets/js/app.4bb1badd.js" defer></script><script src="/vuepress-reco-demo/assets/js/3.dedc3bda.js" defer></script><script src="/vuepress-reco-demo/assets/js/1.1f77094c.js" defer></script><script src="/vuepress-reco-demo/assets/js/27.601944e2.js" defer></script>
  </body>
</html>
